import request from '@/router/axios'

export function fetchList (query) {
  return request({
    url: '/admin/orderCreate/list',
    method: 'get',
    params: query
  })
}

export function putObj (query) {
  return request({
    url: '/admin/orderCreate/put',
    method: 'post',
    data: query
  })
}


export function delObj (id) {
  return request({
    url: '/admin/orderCreate/del',
    method: 'get',
    params: {id: id}
  })
}

export function updateDomain (query) {
  return request({
    url: '/admin/orderCreate/update',
    method: 'get',
    params: query
  })
}

export function paySuccess (query) {
  return request({
    url: '/admin/orderCreate/paySuccess',
    method: 'get',
    params: query
  })
}

export function getPayMethod (query) {
  return request({
    url: '/admin/orderCreate/getPayMethod',
    method: 'get',
    params: query
  })
}

